{% extends "base.html" %}
{% block body %}
    <div class="col-lg-13">
        <!-- Set the form -->
        <form method="POST" action="{{ url_for('manage.login') }}">
            {{ form.hidden_tag() }}
            <div>
                {{ form.username.label }}
                {% if form.username.errors %}
                    {% for e in form.name.errors %}
                        <p class="help-block">{{ e }}</p>
                    {% endfor %}
                {% endif %}
                {{ form.username(class_="form-control") }}
            </div>
            <div class="form-group">
                {{ form.password.label }}
                {% if form.password.errors %}
                    {% for e in form.password.errors %}
                        <p class="help-block">{{ e }}</p>
                    {% endfor %}
                {% endif %}
                {{ form.password(class_='form-control') }}
            </div>
            <input class="btn btn-primary" type="submit" value="Login">
        </form>
    </div>
{% endblock %}
